package shared.messages;

/**
 * The Class CoordMessage
 * - used to send coordinate information.
 */
public class CoordMessage extends Message{
	
	/** The universal version identifier. */
	private static final long serialVersionUID = 4079947946844198420L;
	
	/** The game id. */
	public transient int gameId;
	
	/** The encoded id, x, y for player with id 1. */
	public int idxy1;
	
	/** The encoded id, x, y for player with id 2. */
	public int idxy2;
	
	/** The encoded id, x, y for player with id 3. */
	public int idxy3;

	/**
	 * Instantiates a new coord message.
	 *
	 * @param gameId the game id
	 * @param idxy1 the idxy1
	 * @param idxy2 the idxy2
	 * @param idxy3 the idxy3
	 */
	public CoordMessage(int gameId, int idxy1, int idxy2, int idxy3) {
		this.gameId = gameId;
		this.idxy1 = idxy1;
		this.idxy2 = idxy2;
		this.idxy3 = idxy3;
	}

}
